import * as cFun from "../libfun.so"
// 注册函数到一个模块cFun
// console.log(typeof cFun)
// 调用cFun模块的test_fun函数
cFun.test_fun()

function Hello(str) {
    console.log("hello " + str);
    return "[JS] Hello";
}

console.log(cFun.eval_js_func(Hello, "demotest"));